#include <stdio.h>
#include <unistd.h>

int main(int argc,char *argv[],char *env[]) {

    printf("myexec# pid: %d\n",getpid());

    for(int i=0;env[i]!=NULL;++i) {
        printf("%d : %s\n",i,env[i]);
    }

    for(int i=0;i<argc;++i) {
        printf("%d : %s\n",i,argv[i]);
    }

    return 0;
}